package com.wxy.domain;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import lombok.Data;

/*nacos的热加载*/
@Data
@Component				//将该bean注入到bean容器中
@ConfigurationProperties("wxy.order")		//绑定配置文件中的wxy.order.num属性
public class maxNum {
	private int num;
}
